package com.study.gupao.decorator.v1;

/**
 * @ClassName: MobileTest
 * @Description:
 * @author: Administrator
 * @Date: 2019-03-18 15:20
 */
public class MobileTest {
    public static void main(String[] args) {
        Mobile mobile = new Mobile();
        System.out.println(mobile.getName()+"，总价格："+ mobile.getPrice());

        Mobile mobileExtend = new MobileExtend();
        System.out.println(mobileExtend.getName()+"，总价格："+ mobileExtend.getPrice());

    }
}
